<?php
/**
 * User:ayou chow
 * Date: 2019-12-20
 * Time: 11:06
 */

namespace app\common\model;


use think\Model;

class GuildProfitModel extends Model
{
    protected $connection = 'db_live';

    public function guild()
    {
        return $this->hasOne(GuildModel::class, 'id', 'guild_id');
    }
}